"use strict";
cc._RF.push(module, '81bbd3PhJZEJooLm3WVmoq0', 'audioMgr');
// Script/audioMgr.ts

/*
 * @Author: your name
 * @Date: 2020-08-13 09:54:09
 * @LastEditTime: 2020-08-13 10:00:35
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \shici_demo\assets\Script\audioMgt.ts
 */
Object.defineProperty(exports, "__esModule", { value: true });
var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
var audioMgr = /** @class */ (function (_super) {
    __extends(audioMgr, _super);
    function audioMgr() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.btnClick_mp3 = null;
        _this.tileClick_mp3 = null;
        _this.tileSuc_mp3 = null;
        _this.tipsClick_mp3 = null;
        _this.levelSuc_mp3 = null;
        return _this;
    }
    // 1. 播放按钮点击音效
    audioMgr.prototype.playBtnClickMp3 = function () {
        cc.audioEngine.play(this.btnClick_mp3, false, 1);
    };
    // 2. 播放格子点击音效
    audioMgr.prototype.playTileClickMp3 = function () {
        cc.audioEngine.play(this.tileClick_mp3, false, 1);
    };
    // 3. 播放格子正确音效
    audioMgr.prototype.playTileSucMp3 = function () {
        cc.audioEngine.play(this.tileSuc_mp3, false, 1);
    };
    // 4. 播放提示音效
    audioMgr.prototype.playTipsClickMp3 = function () {
        cc.audioEngine.play(this.tipsClick_mp3, false, 1);
    };
    // 5. 播放关卡完成音效
    audioMgr.prototype.playLevelSucMp3 = function () {
        cc.audioEngine.play(this.levelSuc_mp3, false, 1);
    };
    __decorate([
        property({
            type: cc.AudioClip,
        })
    ], audioMgr.prototype, "btnClick_mp3", void 0);
    __decorate([
        property({
            type: cc.AudioClip,
        })
    ], audioMgr.prototype, "tileClick_mp3", void 0);
    __decorate([
        property({
            type: cc.AudioClip,
        })
    ], audioMgr.prototype, "tileSuc_mp3", void 0);
    __decorate([
        property({
            type: cc.AudioClip,
        })
    ], audioMgr.prototype, "tipsClick_mp3", void 0);
    __decorate([
        property({
            type: cc.AudioClip,
        })
    ], audioMgr.prototype, "levelSuc_mp3", void 0);
    audioMgr = __decorate([
        ccclass
    ], audioMgr);
    return audioMgr;
}(cc.Component));
exports.audioMgr = audioMgr;

cc._RF.pop();